package com.tiger.communal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiger.common.annotation.Excel;
import com.tiger.common.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

/**
 * 【请填写功能名称】对象 construction_unit_enclosure
 *
 * @author standard
 * @date 2022-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "construction_unit_enclosure对象", description = "【请填写功能名称】内容")
public class ConstructionUnitEnclosure extends BaseEntity {
private static final long serialVersionUID = 1L;

        /** $column.columnComment */
        private Long id;

        /** 附件id */
        @Excel(name = "附件id")
        @ApiModelProperty(value = "附件id")
        private Long enclosureId;

        /** appkey */
        @Excel(name = "appkey")
        @ApiModelProperty(value = "appkey")
        private String appkey;

        /** channel */
        @Excel(name = "channel")
        @ApiModelProperty(value = "channel")
        private Integer channel;

        /** 施工单位管理id */
        @Excel(name = "施工单位管理id")
        @ApiModelProperty(value = "施工单位管理id")
        private Long unitId;

        /** 文件名 */
        @Excel(name = "文件名")
        @ApiModelProperty(value = "文件名")
        private String name;

        /** 文件地址 */
        @Excel(name = "文件地址")
        @ApiModelProperty(value = "文件地址")
        private String url;

        /** 创建时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "创建时间")
        private Date createdAt;

        /** 更新时间 */
        @JsonFormat(pattern = "yyyy-MM-dd")
        @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
        @ApiModelProperty(value = "更新时间")
        private Date updatedAt;

        @ApiModelProperty(value = "creator" )
        private String creator;

        /** $column.columnComment */
        @Excel(name = "更新时间")
        @ApiModelProperty(value = "suborgkey")
        private String suborgkey;


}
